﻿using DataCenter.Entitys;

namespace DataCenter.IRepository
{
    public interface IProductRepository
    {
        Task<IEnumerable<Product>> GetAll();
        Task<Product> GetById(Guid id);
        Task<int> Add(Product product);
        Task<int> Update(Product product);
        Task<int> DeleteById(Guid id);

    }
}
